$OpenBSD: patch-filter_pdftoopvp_oprs_OPRS_cxx,v 1.7 2015/07/12 19:14:54 kili Exp $

Let it build with poppler-0.34.

--- filter/pdftoopvp/oprs/OPRS.cxx.orig	Fri Jun 26 17:45:26 2015
+++ filter/pdftoopvp/oprs/OPRS.cxx	Sun Jul 12 17:28:18 2015
@@ -240,8 +240,10 @@ SplashError OPRS::drawImage(SplashImageSource src, voi
     if (rasterMode) {
 #if POPPLER_VERSION_MAJOR <= 0 && (POPPLER_VERSION_MINOR <= 20 || (POPPLER_VERSION_MINOR == 21 && POPPLER_VERSION_MICRO <= 2))
 	return splash->drawImage(src,srcData,srcMode,srcAlpha,w,h,mat);
-#else
+#elseif POPPLER_VERSION_MAJOR <= 0 && POPPLER_VERSION_MINOR <= 33
 	return splash->drawImage(src,srcData,srcMode,srcAlpha,w,h,mat,gFalse);
+#else
+	return splash->drawImage(src,NULL,srcData,srcMode,srcAlpha,w,h,mat,gFalse);
 #endif
     } else {
 	return opvpSplash->drawImage(src,srcData,srcMode,srcAlpha,w,h,mat);
